package main.Triangle;

import main.InputHelper;

/**
 * Created by arianne on 2014-07-13.
 */
public class Trangle4 {
    public static void main(String[] args) {
        InputHelper ih = new InputHelper();
        Integer n = null;
        while (n == null) {
            n = ih.getUserInput("Number of *: ");
        }
        for (int i=0; i<n; i++) {
            for (int j=0; j<=i; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
